#pragma once
#include "IContext.h"

#include <memory>
#include <string>
using std::wstring;
using std::unique_ptr;

class BizEnv : public IContext
{
public:
	BizEnv(void);
	~BizEnv(void);

	static BizEnv& instance();

	void startup();
	void shutdown();

	// IContext
	virtual wstring GetCompany() const { return m_company.c_str(); }
	virtual wstring GetUser() const { return L"manager"; }
	virtual wstring GetLocale() const { return L"en-US"; }
	virtual wstring GetTanantConnection() const { return L"Data Source=10.58.136.166;Initial Catalog=SBODEMOCC;Integrated Security=SSPI;User ID=sa;Password=SAPB1Admin;"; }
	
	wstring m_company;

private:
	static unique_ptr<BizEnv> s_instance;

	
};

